﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.Attributes;
namespace TinyERP.Core.Entity
{
    [NHibernate.Mapping.Attributes.Class(Table = "tbl_group", NameType=typeof(UserGroup))]
    public class UserGroup
    {
        [NHibernate.Mapping.Attributes.Id(0, TypeType = typeof(long), Column = "col_id", Name = "ID")]
        [NHibernate.Mapping.Attributes.Generator(1, Class = "native")]   
        public virtual long ID { get; set; }
        
        [NHibernate.Mapping.Attributes.Property(Column = "col_name")]
        public virtual string Name { get; set; }

        [NHibernate.Mapping.Attributes.Property(Column = "col_description")]
        public virtual string Description { get; set; }
    }
}
